package org.lonetree.tc.dao.hibernate.dto;


public class SourceDTO{

	public static final int SOURCE_TYPE_ELECTRONIC = 0;
	public static final int SOURCE_TYPE_PHYSICAL = 1;
	public static final int SOURCE_TYPE_USER = 2;
	
	private int id;
	private int sourceType;
	private TextbookDTO textbook;
	private UserDTO user;
	private String sourceDetails;
	private String sourceAddress;
	private float price;
	private String name;
	
	
	public String getName(){
		return name;
	}


	
	public void setName(String name){
		this.name = name;
	}


	public float getPrice(){
		return price;
	}

	
	public void setPrice(float price){
		this.price = price;
	}

	public SourceDTO(){
		
	}
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;
	}
	
	public int getSourceType(){
		return sourceType;
	}
	
	public void setSourceType(int sourceType){
		this.sourceType = sourceType;
	}
	
	public TextbookDTO getTextbook(){
		return textbook;
	}
	
	public void setTextbook(TextbookDTO textbook){
		this.textbook = textbook;
	}
	
	public UserDTO getUser(){
		return user;
	}
	
	public void setUser(UserDTO user){
		this.user = user;
	}
	
	public String getSourceDetails(){
		return sourceDetails;
	}
	
	public void setSourceDetails(String sourceDetails){
		this.sourceDetails = sourceDetails;
	}
	
	public String getSourceAddress(){
		return sourceAddress;
	}
	
	public void setSourceAddress(String sourceAddress){
		this.sourceAddress = sourceAddress;
	}
}
